package com.slaffka.services;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * Created by IntelliJ IDEA.
 * _User: v.tsapaev
 * Date: 18.02.12
 * Time: 11:57
 * To change this template use File | Settings | File Templates.
 */
@Component
public class ServiceFactory {

//    @Autowired
//    _UserService userService;
//    @Autowired
//    PageService pageService;
//
//    @Override
//    public _UserService getUserService() {
//        return userService;
//    }
//
//    @Override
//    public PageService getPageService() {
//        return pageService;
//    }
    @Autowired
    private ThemeService themeService;

    @Autowired
    private PageService pageService;

    @Autowired
    private UserService userService;

    @Autowired
    private UserSessionService userSessionService;

    @Autowired
    private NotificationService notificationService;

    @Autowired
    private AdminService adminService;

    public ThemeService getThemeService() {
        return themeService;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public PageService getPageService() {
        return pageService;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public UserService getUserService() {
        return userService;
    }

    public UserSessionService getUserSessionService() {
        return userSessionService;
    }

    public NotificationService getNotificationService() {
        return notificationService;
    }

    public AdminService getAdminService() {
        return adminService;
    }
}
